ga.core.goperators
Interface ICrossoverOp<T extends IIndividual<T>>

Type Parameters:
T - The generic type of individuals.
All Superinterfaces:
IGeneticOp
All Known Implementing Classes:
OnePointCrossoverOp, SegmentCutCrossoverOp, SimpleObjectCrossoverOp, SwapCrossoverOp

public interface ICrossoverOp<T extends IIndividual<T>>
extends IGeneticOp

Interface for a crossover operator.

Since:
11.08.2012
Author:
Stephan Dreyer

Method Summary
 IndividualList<T> crossover(T individual1, T individual2, GAContext context)
          Performs a crossover (if probability met) of the given individuals and returns a list of the results.
 

Method Detail

crossover

IndividualList<T> crossover(T individual1,
                            T individual2,
                            GAContext context)
Performs a crossover (if probability met) of the given individuals and returns a list of the results.

Parameters:
individual1 - First individual
individual2 - Second individual
context - The GA context.
Returns:
List of the results.
Since:
11.08.2012